package com.qiantu.api.entity;

import java.util.List;

public class TimesBean {
    private String timeRecordSerialNo;
    private String date;
    private String time;
    private String dateTime;
    //执行类型: 1场景执行、2发消息、3操作设备、4定时触发、5环境触发、6.设备触发、7.联动执行
    private int executionType;
    //执行的场景，联动，序列号，由执行类型决定
    private String executionSerialNo;
    //执行状态：0未执行、1执行成功，3执行中，4执行失败，5取消执行
    private int executionState;
    private String title;
    private List<String> content;
    //图片类型：1场景执行、2发消息、3操作设备、4定时触发、5环境触发、6.设备触发、7.联动执行
    private int taskType;
    private String logo;
    private String houseSerialNo;
    //1过去 2此刻 3未来
    private int timeType;

    public String getTimeRecordSerialNo() {
        return timeRecordSerialNo;
    }

    public void setTimeRecordSerialNo(String timeRecordSerialNo) {
        this.timeRecordSerialNo = timeRecordSerialNo;
    }

    public String getDate() {
        return date != null ? date.trim() : "";
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time != null ? time.trim() : "";
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public int getExecutionType() {
        return executionType;
    }

    public void setExecutionType(int executionType) {
        this.executionType = executionType;
    }

    public int getExecutionState() {
        return executionState;
    }

    public void setExecutionState(int executionState) {
        this.executionState = executionState;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<String> getContent() {
        return content;
    }

    public void setContent(List<String> content) {
        this.content = content;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getHouseSerialNo() {
        return houseSerialNo;
    }

    public void setHouseSerialNo(String houseSerialNo) {
        this.houseSerialNo = houseSerialNo;
    }

    public int getTimeType() {
        return timeType;
    }

    public void setTimeType(int timeType) {
        this.timeType = timeType;
    }

    public String getExecutionSerialNo() {
        return executionSerialNo;
    }

    public void setExecutionSerialNo(String executionSerialNo) {
        this.executionSerialNo = executionSerialNo;
    }

    public int getTaskType() {
        return taskType;
    }

    public void setTaskType(int taskType) {
        this.taskType = taskType;
    }
}
